package cn.itcast.service;

import cn.itcast.DTO.OrderDTO;
import cn.itcast.entity.Order;
import cn.itcast.VO.OrderDayVO;
import cn.itcast.VO.OrderFlowVO;
import cn.itcast.VO.OrderUserVO;


public interface OrderService {
    void addOrder(OrderDTO orderDTO);

    OrderDayVO getOrderDay(Long roomId);

    OrderUserVO getOrderUserId(Integer userId);

    Order getOrderByRoomId(Long roomId);

    //修改订单
    void updateOrder(Order order);

    OrderFlowVO flow();
}
